Adding HTML5 support

Adding HTML5 support