Fixed error in metadata.js