Update ils_graaspeu.js

Checks if there is a list of resources before using it