my attempt to  integrate Chrome package app with node.js