progress reworked to become a jQuery plugin