Added coffeescript and simplified js.