cant make TextManager.js into a class, need help