committed global.js. now to add request functions for all responses