add mercurial to fix make packages
auto detect json file to javascript