Exposed routes for JS.