Based on jqueryui,