replace bugctrl.js services with node services