- remove references to brunel files that don't exist
- make sure to put grid js behind a validity check