Updated question to enable Drupal8 or Drupal 7 inititalization for Backbone.drupal library