simpler with js for specrunner in html file