flow.js added useragent to head

Added useragent to head so we may use this for secruity checks later on
within the project