use mocha & chai
support AMD
added bower support