update main.coffee with changes from README