update js-array to support any and all