Fixing Webtrends bug, jQuery not available until page loads so this errored. Webtrends loads in the head so can call straight away.