removed styling
converted js to coffeescript