ARQUIDEAS-1172 # Fixed javascript DOM change bug. With clone() lost assigned events.