[watches] make js_event_gen_trigger call function with no args. Move object to GPIO set watch.
[watches] provide pin state on watch cb call