Improved input.js

Streamlined code, added stuff(i.e., finished self.addRow)