Cleanup and approximation to solve problem of style not loading on tooltips