Simple library with sereval functions pre difinite.
See some samples
Get value component
var value = princ_getValue("field"):String;
Verify div is visible
princ_isShow("div"):Boolean;
Disable a component
princ_disable("component", boolean);
Get Value of parameter in url
url = http://suapp.com.br/pagina?p1=abc&p2=poi
princ_obterParametroUrl("p1"):abc
more...
Integration with bootbox
to contribute just follow the default pattern 'princ_name_function():return'