changes to analytics page and add image resize js