Fixed JavaScript error on updating a point value to null. Closes #2359.
Merge remote-tracking branch 'origin/master'