Tested and working with heroku ROR server. Possible problem with JSON script for file locations