use js routes instead of static route

[8ba8f433bc4359cded02e78f6c26d05037559454]
replaced json files with yml

[#68613474]
spec fixing

sudo rm -f ./.git/index.lock
fixing [f455d1a9d15e94ae35d003d60f9b6238bb694541]