Smart search suggestion script from mootools to jquery. Fixes #5128.
Correct Bootstrap tooltip positioning for top and bottom options. Fixes #5137.