Modified route-recognizer to pass jshint.