Ensure that postinstall runs a build

This will prevent CI failures.  Also added better JSDoc comments in
storage.js.