I added my code for the array function in my js file.  Fixed number error in number function.