added wishlist.js and detailpage.js