Redoing the javascript for a tooltip location