Create textswitcher.js