Fix path to common.css (via sed)
Change path from bundle to require.js (with sed)
Add data-main attr (with sed)
Add missing shim declarations in main.js