Refactored js
New logic between form and controller. Flexible JS
More docs
Merge pull request #11 from kirs/refactored-js

New logic between form and controller. Flexible JS