added support for 'global' option,
removed copy of jquery from repository