Fixed issues with minifying as a bower component