Update webservice search for scripting and "onloadsearch"

Fix bug not loading correctling default value