submitter.js: prevent CATMAID's canvas from freezing
when jQuery's json parser fails to parse the received response text.
Merge remote-tracking branch 'origin/master'