Updated to only use innerHTML