Moved Javascript code used for geolocation and corrected homepage capitalization