update cloudebus.js
Check if service != null before calling method remove()