Protecting the $ Alias and Adding Scope