Making hidpi attribute html5 compliant