add client  + 'rest.js'