migrating from gmaps4rails to javascript api