manage text size in javascript