Add patterns.js for Diazo