Location and entry maps

used MapBox Api to generate map on location show page.  
--map displays marker for each entry near the map center.
--javascript is in the html file.  I was having trouble getting the ruby variables to work in a seperate js.erb file.  Help would be appreciated.
This feels like it could be a good place to use an object to encapsulate the target latitude and target longitude.

Remember Ben Orenstein talk where he discusses this for DateRange. Your always going to need both the latitude and longitude for a coordinate.

https://www.youtube.com/watch?v=DC-pQPq0acs#t=546