Use jquery to collect data for adding a product instead of manually
creating an object. Added json2.js for JSON object support in older
browsers.
Javascript file for adding product via ajax.