note on use of type="text/javascript" in html5