Migrated to JS metalsmith usage