Added javascript to show database stats