* Add switch between JS and PHP code
* Add documentation feature for widgets.
* Fix some bugs.