fixing company detail JS