JS errors when adding the first Decodable Reader

It can't now, but just in case something changes in the future, I added the check for null.