algorithm lee pathfinder gui html5 js jquery css