Refactored app.js to use deferreds, minor cleanup of markup and changed ...

...jquery src to track latest stable min. Added very basic validation to input.