Change first parameter to a string in array
Change back to int, and add an initial parameter in the JS