moved roca related REST calls to centerdevice service
added jshint