add innerHTML functionality to the script