--modifying coco urls and api urls. Removed unused reset code
--modifying indexdb name to support /coco url change