Fix for  handleinputs and handletextareas being null

In IE, if handleInputs or handleTextAreas is undefined, a undefined error was being thrown on length. This checks that the item has a value before trying to use it