Extend JavaScript with a simple to use Class pattern.