Avoided using Math.pow function for squaring things and reorganized some of the code (moved getting controls to its own function and cleaned up bullet and asteroid collision detection (a bit))