fix watching for the objects, working in latest gopherjs