change coffee to js