Changed sample.js