switched innerhtml reference to node