update jsdifflib; add test cases