Fix: error in router

:JSHint

02-router.js: line 116, col 10, Unnecessary semicolon.
02-router.js: line 178, col 57, Missing semicolon.
02-router.js: line 182, col 32, Expected a conditional expression and instead
saw an assignment.