initialized the component and added jquery-ui as dependency.