fix js crud service