Add dependency on RequireJS to bower config.
Move animation frame polyfill to module.