update node app to use static JSON if no DB available