update xedit js and fix spots left bug