fixed routes and added underscore.js