Fixes some innerHTML usage