updated JavaScript/siaf