Fix files and namespaces names for JavaScript compability.