[js] Functions, stop_event

* Added stop_event function
Template aliases, docs

* Fixed template body() alias
* Fixed inline docs
[js] PWF, use is_ready if available

* PWF js container checks is_ready before init
* JS object init protection is not needed anymore