updated index file to use collectionPlusJson library