Update module.js

Added a separate rows parameter for histogram in value mode.