bs js lib