Update metadata.js

insert of durationmsec as variable for length in miliseconds