misc html5 fixes
browser hacks