more readable
Make javascript an array parameter