Fixups and add comments

* Partially revert changes to ajaxTransport used for Mustache template
  loading
* Fix parameter order in $.throttle and move deletion of
  `this._pending_refresh` to after completion of the Ajax call