updated mgmt command to write out translated js files