Moved tooltip into main.js