PathFinding.js – a comprehensive path-finding library for grid based games.  Here is a visual demo.

path_finder