Binding of metadata to a js nsIObserver

Create and bind an observer to the value of the position metadata field. When the field changes, change the color of the background of the webpage. A poor man's html visualization.