Update Ajax.js

Check if contentType **begins with** 'application/json' instead of checking if contentType **is** 'application/json'.

Otherwise it sets the post body to '[Object object]' when contentType is set to 'application/json; charset=utf-8'.