Changed to using typing.js