load search bar / language switch with javascript.