jQuery and $ should not be globals since we're using AMD internally
Renamed $ to jQuery in the factory functions. jQuery is the variable passed to the inner IIFEs
Excluded external sources from linting