fixed #114
refactored apt_show.js