Update javscript text formating.