.gitigore updated with file type *.ignore
Added @suppress tag to avoid Closure Compiler warning. At the function cancelAnimationFrame.