Fixes assets issues & optimizes for Heroku