Totty got tired because:
- To write plugins/widgets/modules in javascript mixed with HTML and maintain an external CSS file for each;
- Has to make DOM queries;
Then he think and solved:
- Got a client framework that abstracts all the CSS and HTML therefore writing a plugin/widget/module only needs at least 1 pure javascript file (no strings with HTML);
- By generating HTML there is no need to make DOM queries because all the elements are stored in a variable when are created or appended to the DOM;