You don't need any prototype. Prototypes are usually used for code reuse.
Use:
$('#tarrif').load("<?php echo base_url(); ?>index.php/rates/index", function (data) {
window.GLOBAL = JSON.parse(data);
});
Access it this way: window.GLOBAL
.
You can create object, which prototype is the response of your request:
$('#tarrif').load("<?php echo base_url(); ?>index.php/rates/index", function (data) {
window.GLOBAL = Object.create(JSON.parse(data));
});
Anyway, I don't see why you would ever need this.