Converting to Coffescript