Revert index.js demo