Using htmlDependency()

It has the advantage of adding the dependency in the header with its name and version.