Updated tracking event js