small changes on app.js and magazine module