Serching system by javascript