Update rowcounter.js

Added support for progressbar