Added new pathfinding js file.