Moves vendor javascripts to vendor; [WIP] Refactors tooltip (copied)