Refactored javascripts a bit, added missile visualisation, handling object lifecycle in game