properly use jquery-form, fixes #2