merged, small changes to javascript progress bar 1) updates correctly when resuming 2) number of tables not hard coded anymore
merged, small changes to javascript progress bar 1) updates correctly when resuming 2) number of tables not hard coded anymore

dilawar/moodle