Working HTML5 mode with loopback server