jQuery UI widget fixes
Merge pull request #400 from creocoder/jui-fixes

[READY] jQuery UI widget fixes