Issue #1574490 by frega, nod_: Clean-up: batch.js.

PR for https://drupal.org/node/1574490