updated configs and simplified analytics js