This is going to have problems when `get_resource` is `/`, I think.  Maybe this instead?
```erb
window.location = "<%= "#{get_resource.chomp("/")}/#{@exploit_receiver_page}" %>";
```