JS File for typing text