Ruby Remove Element From Array Jquery