Fixing JS to take an array for deleteAlerts

Signed-off-by: Euan Torano <euantorano@gmail.com>