Refactor form field updates to jquery plugins