This example works on in Total.js v2.1.0. you need to run index.js (Total.js app) then you need to execu script upload.js