Fixing view for proper js minification