var $form = $('#addServiceForm'),
form_action = $form.attr('action'),
form_data = new FormData($form[0]);
$.ajax({
type: "POST",
url: form_action,
data: form_data,
cache: false,
contentType: false,
processData: false,
success: function () {
window.location = '/'
}
});