Update javscript JSON builder to properly handle the new barcodes interface

Also included is a new JSON example file to reflect the changes to the
standard part object model.
Update part submission php to support submitting quantities
Fix Syntax Error