changing hidpi attribuets to be html5 compliant