Added "crossDomain" property for cross domain support

Added "crossDomain" property for cross domain support. The default value
for "contentType" was also changed from 'application/json' to
'application/x-www-form-urlencoded; charset=UTF-8' as jQuery does.