hack to wrap coffeescript in anon funcs