added support for Js arrays for binding parameters