fix issue in gmail

 where gmail web client strips away the map element at end of file