Post some useful links regarding pathfinding algorithms and such here! Also repost your stuff that got lost in the crash either on the wiki or as a GitHub Gist and link/embed it here 
An open-source A-star implementation in JavaScript by Brian Grinstead with an excellent demo - http://www.briangrinstead.com/blog/astar-search-algorithm-in-javascript-updated (its GitHub repo)
Basically, his pseudocode went from...
push startNode onto openList
while(openList is not empty) {
currentNode = find lowest f in openList
if currentNode is final, return the successful path
push currentNode onto closedList and remove from openList
foreach neighbor of currentNode {
if neighbor is not in openList {
save g, h, and f then save the current parent
add neighbor to openList
}
if neighbor is in openList but the current g is better than previous g {
save g and f, then save the current parent
}
}
to... (* denotes changed lines)
* push startNode onto openHeap
while(openList is not empty) {
* currentNode = pop from openHeap
if currentNode is final, return the successful path
* set currentNode as closed
foreach neighbor of currentNode {
* if neighbor is not set visited {
* save g, h, and f then save the current parent and set visited
* add neighbor to openHeap
}
if neighbor is in openList but the current g is better than previous g {
save g and f, then save the current parent
* reset position in openHeap (since f changed)
}
}
...and it's now leaps and bounds faster. I don't know off the top of my head how fast Beaker's most recent JS pathfinding was or Radnen's last released version, but this guy's seems pretty fast. The GitHub repo (and a later blog post) also has discussions on adding weight to nodes for stuff like simulating terrain penalties (eg, takes 2 steps to go through a desert tile instead of 1 step to go through a plains tile). This fork by GitHub user Hankus (which I believe was later merged) demonstrates adding weight and allowing diagonal movement.
Brian's Gist for the updated version with node weights (0 = closed, >0 = weight/movement cost):
[gist]581352[/gist]