BACKLOG-5041 Javascript changed to array