How can I make a candle in a glass jar burn even.?

(I dont want any wax stuck to the sides of the glass)