add js build to demo
move setfont to separate function