Convert jqueryui theme to native javascript.