Add extra routes and separate js in different files