setup SIAF in js