transformed text-dimming to fully-fledged Coffeescript OO format
rebuild and docs