Committing jquery