A Prototype JS Object with Simple Event-Driven Functionality