changed name input fields to jquery objects