committing registration jquery magic