The Extensions listed in: http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API-Extensions should also be available to KWin Scripts.