attempted to make html5 portable across systems