condensed programs into 'show.js'