fixing bower and npm definitions