reverted html5 mode for page refresh issue