do not use innerHTML - fixes #1