add Patterns.js as a container