Rewrite to use Bower and include tests