Using the new requirements JS API to fetch requirements