Avoid crashing when we have no JavaScript to run.
Better test.
Merge branch 'feature/issue-726-no-javascript' into develop