fix some more coffee to js