Javascript support from HP is very limited so we have to figure most out for ourself.

So be sure to contribute in the Javascript forum with sample scripts and tips so we can build a library of usefull scripts.