Return JS with search