Update Resources/analytics.js

Appname and version now sent with each request