added analytics, cleaned up html formatting