Fixed JS tip refresh formatting