Add Utils.isJSArray for #576
Fix Array.js file
Fix #576 for Array and ports with tuples