I found this http://jsfiddle.net/fabricjs/fmgXt/ example on loading rect and circle,
// Do some initializing stuff fabric.Object.prototype. set({