// A simple Javascript Object / String
var object = \"hello\";
// Imagine a button in the DOM, and if it\'s clicked the object value will change
document.getElement
Recent Google Chrome versions (ex. beta with "Enable Experimental JavaScript" flag on) support Object.observe() API. More info at RESPOND TO CHANGE WITH OBJECT.OBSERVE and working example