Added the plain JavaScript version

shop.js