add public/js/index.coffee