change font and js function used