diff library of javascript