added plumbing for application.js