added agfk javascript optimization and testing instructions