migrated main.js to coffee