Just thinking about the future here, would it be better to further open this up, to allow users to connect to other REST endpoints outside of Salesforce?  Or do you feel like that's outside the scope of this JS module (i.e. they'd just their own AJAX calls directly)?