Fixed perm-editor-ng.js