How to pre-select checkboxes from GET variable in widgets refinementList

Is there an easy way to use GET variables to then have a filter pre-selected on a widgets.refinementList? Do I have the javasript myself to get the GET variable? Is there a place I can say which filter to be pre-selected and the search to use that data on page load?

Thanks.