Refactors the Google Maps JS file. To Be Continued