$.delete needs to take into account $.localKeys.