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.
Merge pull request #1079 from sjrd/jsdelete-dot-bracket

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