Added back in the compiled JavaScript and completely removed google closure library dependency.

Added a very small priority queue implementation