Fixed bug in jslib/ArrayExt