Update go.to.js

Revising handler calls to use a queue to resolve after hook being called before subroute.