Add requestAnimationFrame shim.
Add jQuery substitute.
Replace Imager function.
Remove PubSub implementation.
Wrap in IIFE.