Fix for newer parseJSON implementations

Fix 'SyntaxError: Unexpected token u' caused by newer versions of jQuery

See http://stackoverflow.com/questions/14466158/best-in-place-gem-initializing