Added javascript to track visits.