Create array_compactor.js