Issue #2235425 by corbacho, andypost, nod_: Fixed domready bug breaks Drupal behaviors.