RWD: Layout search javascripts.