Fix javascripts paths in mdict format aren't replaced, which leads to .js files won't be loaded