analytic changes and javascript