updated analytics to new script
dart2js