Fix for new parseJSON implementations

Fix 'SyntaxError: Unexpected token u' caused by newer versions of jQuery