Changes to debounce, keyups, and errors

![selfie-0](http://i.imgur.com/RnXu4IH.gif)

(That's me being a Jedi. It's not my best work.)

- debounce needed to be moved from inside the anonymous function to work, so I recoded the stuff dealing with debounce
- smoothed out keyup handlers thanks to a functional debounce!
- changed the code so that the API isn't called when loan-amount=0