Cleaning up my coffescript code