restore text.js(lost file) for preview page