Update router.js

Corrected inverted condition on navigate function
Merge pull request #1 from mpipet/master

Fixes router.navigate()