Update JSPatterns.js