Remove unneeded code from jQuery form field