add rewites rules for app.js