Fixing bot.inject.recompileFunction_ to work for frames in IE5 quirks mode