fix js exception - ''progress_bar_target' is not a function'