Remove jQuery UI dependencies + bug fix