Basic Javascript thread pool implementation using web workers. For use with or without require.js.