switched fonts to javascript