Fixed JS error in trashbin app