I added the JS array function.