Fixing typos in link helper, changing variable name in router.js