removed jquery each from node.js code