Implemented HTML5 Mode