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

@@ -259,16 +259,292 @@
 filepath
+,%22%7BExif%7D%22%5D);%0A    %7D,%0A    getTiffData: function(filepath, success, fail) %7B%0A        return Cordova.exec(success,%0A                            fail,%0A                            %22ExifReader%22,%0A                            %22getTiffData%22,%0A                            %5Bfilepath, %22%7BTiff%7D%22
 %5D);%0A    

split functions to exif and tiff