Optimized the code to run 3x-11x faster depending on the browser.
0.1.1