Issue #2278345 by Mile23, danylevskyi: Fixed Attaching JavaScript with Drupal behaviors.