Throw error if progress bars are initialized without new keyword

Change bad error message `undefined is not a function` to more descriptive: `not called with new keyword` error.