add call service method in js