Appending undfined variables using innerHTML