Reformat tooltip js and less code!