Use JQuery widgets

Is this possible? Would love to implement a progressbar for a long completing (seconds - but you know how web users are) function creating records from a checkbox set up table.

Came across these widgets and wondered if it was possible to implement in the Knack Javascript https://jqueryui.com/progressbar/#default

Tried a couple of things without it working and not sure where to start...