Add plugins and added javascript to run geolocator plugin.