fixing IE bug with html piggybacks
back ported the referrer query param prefix from n branch