Update ProductModule.js

removed duplicated function