HTML5 compile fix