made server html5-mode friendly