Fix: javascript error in the private files and private pages settings