If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Build towers along the road to defend the factory. Click on a tower you have built to see upgrade options. Buy a shield for your tower to protect it from exploding enemies. Build ice towers to slow the enemies. Fire towers and Ultra towers will burn an enemy after a hit to cause more damage. Build up your defense until the big boss arrives.