Support callback function

Added callback function through config that will be triggered after
uploader ajax is done. Also renamed 'data' to 'response'.