Ruby Remove Element From Array Jquery Ui