js for the role adjusted