added support for textarea

assigned inputType to null since the value of the last item seems to stay through the loop. Making the code think the textarea was a select. Probably because of hoisting.
ran through grunt
Merge pull request #1 from steveoh/patch-1

added support for textarea