Fix the frontend js now the locaitons field has been renamed

https://www.pivotaltracker.com/story/show/44710407