simple Object.observe polyfil for node and browser