Adding JS to require requests