Pulled out html5Mode

Will look into later, but for now there are issues with the connect
server settings.  Don’t feel like dealing with it at the moment.