commit ajax jquery register