fixed querySelector with numeric IDs - close #585