Fixes to the Role service to make it pass jshint