Replace calendar.js with CoffeeScript