Add jQuery submit snippet