Changed HTML data not to duplicte and depend on only one html like jquery UI