fix .gitignore
fix index.coffee and add better response handling