added error calback in js file
added calling method for js error calback to .m file
added calback error description to the readme