Commented first couple hundred lines and refactored all Level methods to extend Level.prototype.