BUG: Refs #212.  Reversion of changes to common.ajaxapi.js.
BUG: Refs #212.  Reversion of changes to common.ajaxapi.js.

I spoke with Zach about this, he said the code should remain as it was.

jcfr/Midas,jcfr/Midas,jcfr/Midas,mgrauer/qibench,jcfr/Midas,mgrauer/qibench,jcfr/Midas,mgrauer/qibench,mgrauer/qibench,mgrauer/qibench,mgrauer/qibench,jcfr/Midas,mgrauer/qibench