Refs #21467; Changed the following:

- Moved the js to the end of the body tag in order to avoid blocking the
  rendering
- Removed inline styling
- Added the jquery ui css since we load the jquery ui