added getElementById

added getElementById, added sendMessage to get message to come up on
the screen, cleaned up HTML