DirectoryBase.empty?, disabled JS error checking because FF23 broke it