[lib_rewrite] rewrite lib/array.js