some more stuff for js