Get hard-coded routes out of js.