added prototyped callbacks
	modified:   CDVPlugin