instancesimple.js now working