Update productModel.js

Fix 'this' is undefined, and app crashed.
Merge pull request #1 from nel0511/patch-1

Update productModel.js