HTML 5 canvas comet animation