add HTML5 support