Make requires for beautify-html.js compatible with different systems.

Closes #202
Merge remote-tracking branch 'upstream/master' into gh-pages