Fix javascripts paths in mdict format aren't replaced

Fix javascripts paths in mdict format aren't replaced, which leads to .js files won't be loaded.
This fix is simply done by adding some replacing codes in mdx.cc.

Special Thanks to bt4baidu@pdawiki.com