Throw an error if the JavaScript demo file can't be found