changed index.html js to coffee