Added option to skip ajax post