Update IMsample.js