Added support for jQuery to auto-detect to use 1.x or 2.x dynamically.
Cleanup of jQuery and jQuery UI to be represented as single modules instead of interfaces with module definitions.
Code cleanup.