Add unit test for client routes.
Drop .js in js.es6.