adopting jslib as dependency