webcl kernels to js functions binding