Is there way to or it is possible to do it using javascript/jQuery?
Based Link URL: first one will check Type A and Type B and second example will check Type D
This question shows a solution to check the query string parameters using javascript. There is also a link at the top to a possible duplicate question that provides a solution using JQuery.
Once you determine the querty string parameters, you can use jQuery to check the box (as detailed in another question):
$('input[value="A"]').prop("checked", true);