fix #1372 -- make html5.js (for old IE) work outside of /

This is #1372.

cc @Aeyoun, @max-arnold

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>