process button js