newui: Group controller refactoring
code style: Use 'var self = this' in js files
temp add template, set validations, when refresh each doesn't iterate