Coffeescript, minor changes for readability
Updated for coffee
Corrected adopt.js -> adopt.coffee
Removed superfluous parens, adjusted tabbing
Merged @ryhan's coffeescript port