Your code lacks commands and brackets for if statements ... although the compiler does not need them, it is good practice to always wrap statements with semicolons and always put a semicolon at the end of each line.
for instance
$("#contact-form").validationEngine({
inlineValidation: false,
promptPosition: "centerRight",
success : function(){use_ajax=true},
failure : function(){use_ajax=false;}
})
and
{
$.validationEngine.buildPrompt(".jqTransformSelectWrapper","* This field is required","error")
return false;
}
, , , , .