Here starts "remove ugly JS embeds and transform them in Drupal render arrays" project.