Update md.js

factorys -> factories