Moved code to proper place. Added proper bootstrap tooltips