update tooltip.js after using js.lint