cleaned up js in app.map;