client js lib for freeze