Updated README.md to list bower as a dev environment dependency.
Fixed wrapping function to properly support AMD if available.