Object literals in javascript and coffeescript