Code cleaning and adding support for input[type=number] fields

Signed-off-by: Kevin Kinnebrew <kevin.kinnebrew@gmail.com>
Tab stops

Signed-off-by: Kevin Kinnebrew <kevin.kinnebrew@gmail.com>
Removing unused variables

Signed-off-by: Kevin Kinnebrew <kevin.kinnebrew@gmail.com>
Merge pull request #2 from kkinnebrew/master

Code cleanup and support for input[type=number] fields.