Update threephase package

After optimization, the initialization time of threephase is now less than 10 seconds on my laptop. 
BTW, once I try to compile it into javascript, the generated .js file doesn't contain the threephase package. Do you know how to compile it with threephase package included?