Update Undoffjs.py