switched from sat-js to fabric.js