submitting jquery solution