Added AJAX-Support as default and 'type'-setting