makes minor change to preview_index.js