Update sample.js