The A* Algorithm, In JavaScript, for a West London Hack Night.