Create replacetext.js