Update script.js

jQuery finds items with class of 'folder' and 'folded'. folded_count is no longer necessary.