Update tooltip.js

Final version (commented)