Fix livereload with pushState support hack