add lib for js