changed threader2.js