Added cancel method to route context
Support Node, Browserify and Component