Issue #2927407 by Akram Khan, anmolgoyal74, droplet, Pooja Ganjage, Tom Konda, nod_, alexpott: Follow-up: remove unnecessary returns in ajax.js
mentioned in commit 5ee487c0