Without 'raw', Rails was escaping all the double quotes and halting the js.
highlight fixes
gmaps4rails in UJS requests mini howto