Moved JS to drupal-infogenerator.js