fix the path of js files.
update/add .gitignore/.hgignore