Updates to work with latest Bower

These changes get things working with Bower@1.2.8 (and Node 0.10 as a bonus).