Add missing require
Remove assignment inside expression
Make use of goog.array.remove