thread.js is now fully ported