Update productModel.js

Fix 'this' is undefined, and app crashed.