[html5] small fixes [double]

https://github.com/haxenme/NME/pull/48