Changed config.instrumentedfiles array to objcet. Also added a check for undefined __coverage__ object.