Fixed JS bug that prevented Files screen from loading