JavaScript library that provides pseudo-threading for leveraging resources during long, CPU intensive operations