Replaced ext-js function 'remove' with pure js version in advancedsearch.

The advanced search used the array function `remove` which was provided by `ext-js`. Since `ext-js` is no longer included by default the function fails.

The `remove` function has been replaced by a plain js variant.

@lukasgraf