Refactor to OO Javascript
Merge pull request #9 from vertigokidd/magenta

Refactor to OO Javascript