Completed work on metadata-helper.js