add weigh in feature, with js