Document.getElementById() should return null if the passed argument is empty