Replaced querySelector with getElementById