Adding html5mode for modern browsers