add support for app.js