Update metadata.js

changed to also enclose when not on windows