Drawing a random hearthstone hero (learning html with js)