Node.js code for apps.chrispattersononline.com (cpo-apps.heroku.com)