work js lib