Updated Tooltip.js
Updated Tooltip.js

Made changes to improve code quality

Merged the multiple breaked lines
Declared the variables inside the loop and did strict comparison inside conditional statements
Also initialized and defined two variables inside of creating and then defining them
SummerWish/privly-applications,sammyshj/privly-applications,SummerWish/privly-applications,privly/privly-applications,privly/privly-applications,hitesh96db/privly-applications,sammyshj/privly-applications,SummerWish/privly-applications,SummerWish/privly-applications,smcgregor/privly-applications,foxichu/privly-applications,smcgregor/privly-applications,hitesh96db/privly-applications,privly/privly-applications,foxichu/privly-applications,foxichu/privly-applications,sammyshj/privly-applications,sammyshj/privly-applications,privly/privly-applications,smcgregor/privly-applications,hitesh96db/privly-applications,SummerWish/privly-applications,sammyshj/privly-applications,hitesh96db/privly-applications,hitesh96db/privly-applications,foxichu/privly-applications,privly/privly-applications,smcgregor/privly-applications,smcgregor/privly-applications,foxichu/privly-applications