Fix resolve issues on app.js