Figured out how to attack, you have to click on them while the boss is next to you. Some levels you press W to go up, others you have to hold spacebar. Interesting that the bosses are random every time you boot up the game.