partial revert of last commit: getJSON cannot POST data