So far(from JS extention 1, 2 and 3), in WebKit JS engine, we can
1) add functions
2) add callback functions
3) add global objects
4) add attributes and functions for an extenal global object
It seems that we can do anything in WebKit through JS extension now -:)