fix a couple issues with how wiredep and bower are configured