Simple none-to-single player space shooter in JavaScript (HTML5 canvas)