extend def for jquery in requirejs