Moved set HTML5 mode to app in order to make views more consistent.