Improved documentation for observer.js