Can just do:

`var username = 'reanimator' || window.location.search.match(/username=([a-zA-Z0-9]+)/)[1];`