Update tooltip.js

strict equal checking