fix(example.js): remove test code from example