can send array to js