Modified index.coffee