toGMTString is deprecated. replace with toUTCString
move toUTCString call to ensure it gets called on the date object