change coffee to js formate