Basic OO implementation for jQuery