Updating canvace.js with texture atlasing support