Add window scope on js evaluation