[bugfix] add setTimeout for example.js