Fixed js injection for anonymous users