port of glitchstepper to html/javascript [incomplete, but working]