Remove is_privileged stuff from js as well