window.Repomgmt.StatisticsRepositories = function(repositoryId) {
    $.get(Routes.statistics_repository_path(repositoryId, {format: "json"}), function(statistics) {

        Morris.Line({
            element: 'repository-statistics-commits-history',