Issue #1684846 by droplet: JSHint field_ui().

PR for http://drupal.org/node/1684846