Fix static files

The static js files were wrongly referenced in the base template, causing tests to fail.
The router.js file appeared to be missing, causing routes not to be included (signup, login, etc.)