check if tooltip exists before using in array
remove minified script