[build] build JS data files