fixed issue with server export / upload. Also added some error checking to modelbuilder.js and fixed and renamed specification.js to json.js and fixed some issues in that file.