CON-2210 | Recommendations header language

you are passing window as win to this module, use local variable instead global one