build to incorporate html5mode