Some updates to make it FF friendly

Yea so innerHTML and className don't work in FF… or something like
that...