About to move js out to file and remove obsolete

All working, about to put back to dosamigos original + templates, 1 js
file, a css file, a widget component, and example controller and active
record as traits - as well as the filevalidator