Adding the javascript tag for google to the application erb file
Followed tutorial at https://coderwall.com/p/fajmvq to fix the map not loading immediately
Reverted changes in application.js Found another quick solution
Disabled Turbolinks as it was causing my map not to load immediately