Update summarizer.js

Added UserAgent to metadata.