js: observe