Update input.js

Added disabling of the First/Previous/Next/Last buttons.
Made it so entering 0 won't break the table.
Move input styles into a class instead.
Merge pull request #92 from Anderezekial/patch-1

Update input.js