javascript that increments a number for stocks game!