Fixed flexbox.
Removed explicit dependency on jQuery.
Enabled html5mode.