Use jquery instead of document.querySelectorAll
Use jquery instead of document.querySelectorAll

The latter gave me some problems when querying for ids that are Plone UIDs

Patternslib/Patterns-archive,Patternslib/Patterns-archive,Patternslib/Patterns-archive