fix undefined 'bower'