Add JQuery and Require.js
Add JS to control content and use flexbox
Add legacy flexbox support for B2G