[ImagEd] replace innerText (unsupported by FF) by textContent + working on Layers panel