TextEmulator js added