Update service_new.js

finish selectHostsForService module