using getElementById() instead of getElementsByTagName()[]