Fixed typed.js bug