Update metadata.js

Don't process non-existent tokens