add bower support
support AMD modules and wrap in a closure