Update go.to.js

Updating method hint for redirect option.