RouteTaskEx cleaned up according to JSHint

http://jshint.com