Change condition syntax to coffee