Converted JavaScript to Object-Oriented!

@quigproquo