Commit 6

Converted Javascript to Coffeescript