Issue #1684880 by droplet, nod_: JSHint user.

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