Added JavaScript part and tested to work. (productCatalogue.js)