moved coffee to js