added some more to the js-lib