Fixed issues in companies.js