Update router.js

added comma in var statement