A simple router for one page browser apps