add javascript for fonts