Fixed a bug in items.js & shopPage.js