Finished removing of ownership from permissions javascript stuff