Fixing config for js files