fix file access permissions
convert dos to unix
fixed duplicates and syntax errors in lang-*.js