Calculator: HTML5 compile fix