Fix #1039: Change JSDelete to contain a JS{Dot,Bracket}Select.

Note: JSDelete(JSDotSelect(_, _)) is completely untested. I do not know what to do about it.