Refactoring, Bower test, JS Style

I practiced some GDD (guilt-driven development) to make up for my pluralization fail. :blush:

So far, I only added two tests for the bower module that blew up earlier, but it should be easier to add more now.