Enabling html5 mode