Javascript url router based on Sinatra and plain href urls.