Update docx.js

* Added 2nd argument 'action' to docx().
* require 1st argument must be an ArrayBuffer.