Removing extra JS and correcting the Google API key