prepare HTML source for bundlescript.