removed use of external .js file for analytics