Related resources for patterns in JavaScript