Updated host location in rest.js