adding context to mb_solr.js to call only on document load.