Update tService.js

change the success and error functions to an only callback function