var ExifReader = {
    getExifData: function(filepath, success, fail) {
        return Cordova.exec(success, 
                            fail,
                            "ExifReader",
                            "getExifData",
                            [filepath]);
    }
};

var ExifReader = {
    getExifData: function(filepath, success, fail) {
        return Cordova.exec(success, 
                            fail,
                            "ExifReader",
                            "getExifData",
                            [filepath,"{Exif}"]);
    },
    getTiffData: function(filepath, success, fail) {
        return Cordova.exec(success,
                            fail,
                            "ExifReader",
                            "getTiffData",
                            [filepath, "{Tiff}"]);
    }
};

split functions to exif and tiff