history.js via npm
no more bundle yay
centralise client requires
ensure javascript client is loaded in cukes
separate routes from client
refactor client