Added Product constructor function to Shared.js