Minor Javascript changes (getRoles still not working)