An extended Observer pattern implementation, worked at any JavaScript environment