Renamed `resources` to  `data` (shorted) and fixed the example in the `ressource.js` file