Compile fix for HTML5