add an optional parent to drawing the back
use innerHTML since Firefox doesn't seem to support innerText