solved weird double ajax posting problem of the form