Specified that the JS request is made to 'favorites.json'
Temporarily removed the favorites button to try to get the page to render correctly
More flailing about
Finally fixed it, shoo!!
Added back in disabled code
Merge remote-tracking branch 'origin/Rails' into development