updated typefout in main.js