Update extensions.js

added function ffmpegTimemarkToMiliseconds