Upgraded jQuery UI version and made some minor fixes.