Fix/roles permission js

[Bug #4255: Permissions not displayed when editing a global role](https://www.openproject.org/work_packages/4255)

The indentation of the js was unfortunately done via tabs. This is fixed in the second commit.

Only the first one includes the fix.