added array to js