cannot get main.js qorking reliably. But simpler.js works perfectly, if crudely
remove files!