fixing heroku
refactored for proper RequireJS requires