added require_self to app.js