Working on analytics
analytics in separate js file
changed code