Pathfinding A* and Dijkstra's algorithm implemented in JavaScript Can also be tested right here: https://kredegc.github.io/Pathfinding/