Changed structure coffee script