Create product.js

A product view model with validation and cancel features.