Update doublearray.js

linear memory expansion