The minifed blueimp Gallery jQuery plugin already includes the base Gallery script.