Move utility files to `legacy52` directory and update for changes in the upcoming Firefox 60 release.