Js functions fully functional and dried up