replace app.js not working reason unknown