Add require self to js for heroku