alexlee85: html5 fix for Key class