Ruby Remove Element From Array Jquery Library