fixing error in show.js