js setup work for add parts