JavaScript widgets system base. Buttons are now loaded from JavaScript
directly, and new widgets can be added with widgets.addWidget()
Merge pull request #20 from Tribex/modularize

JavaScript widgets system base. Buttons are now loaded from JavaScript