Start to change coffee to js