added logger
overhauled logging system, pushed logging object to window for global logging
merge regionAnimation.js