Update productModel.js

Fix 'this' is undefined sometimes and app crashed.