A simple javascript progressbar