Moved geocomplete.js check in main.js

causes trouble with gmap3