add document ready in coffeescript