added back tooltip javascript