removed innerHTML twiddling