add global compatibility. fix Rater setImageData declaration
add global compatibility. fix Rater setImageData declaration

zuzusik/DefinitelyTyped,rolandzwaga/DefinitelyTyped,AgentME/DefinitelyTyped,laurentiustamate94/DefinitelyTyped,arusakov/DefinitelyTyped,zuzusik/DefinitelyTyped,magny/DefinitelyTyped,magny/DefinitelyTyped,alexdresko/DefinitelyTyped,AgentME/DefinitelyTyped,georgemarshall/DefinitelyTyped,markogresak/DefinitelyTyped,arusakov/DefinitelyTyped,zuzusik/DefinitelyTyped,georgemarshall/DefinitelyTyped,borisyankov/DefinitelyTyped,AgentME/DefinitelyTyped,georgemarshall/DefinitelyTyped,arusakov/DefinitelyTyped,borisyankov/DefinitelyTyped,AgentME/DefinitelyTyped,mcliment/DefinitelyTyped,georgemarshall/DefinitelyTyped,alexdresko/DefinitelyTyped,dsebastien/DefinitelyTyped,rolandzwaga/DefinitelyTyped,chrootsu/DefinitelyTyped,one-pieces/DefinitelyTyped,dsebastien/DefinitelyTyped,chrootsu/DefinitelyTyped