Added basic MongoDB query via AJAX to populate graph.
Added basic support for querying MongoDB via AJAX.