test: was documen.getElementById prone of error?