added links to all of the js files and added code to js files. initialized analytics.js