style($route) make some jshint recommended changes

Syntax changes:
- ternary indentation
- remove unused variable, N
- use triple equals instead of double