Added empty define() at the end of the built bundles to fix an issue in curljs. Tweaking testing HTML & JS.