Fix issue with getElementById

`querySelector('#id')` only allows valid CSS IDs but `getElementById` should allow any character but "HTML space" characters.