Merge pull request #2 from srobbin/master

Fix for routes.js bug and unaccessible routes filtering
Merge pull request #3 from srobbin/master

Remove entire direction when route is inaccessible.
Better filtering for accessible directions.