adds information about data sources to javascript Drupal object
adds new callback to handle data source changes
adds stubs of callbacks for data source changes
adds conversion functions for Month To Week and Week to Month
Determines correct callback and runs it
abstracts determining new primary key