- add spin.js
- send appropriate response for 404 before render