Fix js for creating brands