ENYO-3311: re-indented and some reformat...

... done with js_beautify
http://search.cpan.org/dist/JavaScript-Beautifier/
ENYO-3311: fixed indentation
Merge pull request #755 from enyojs/ENYO-3311

ENYO-3311: re-indented and some reformat...