added remaining patterns into build.js and patterns.js