get examples working with old gg.js