BISERVER-11031 - The scheduled task still present in the list after removing

Change at js: added additional check if object is null (empty response from server)
Merge pull request #1328 from apratkin/BISERVER-11031a

BISERVER-11031 - The scheduled task still present in the list after remo...