Externalized search javascripts