Removed jQuery dependency. Added AMD support for use in loaders like RequireJS