Fixed javascript error in ui-utils.js when no query string parameters were present.