added 'count' option to ArrayBuffer.  added integrate.js