Changed coffe to js