Update go.to.js

Optimized assignHandler() and navigate(). Added target element to handler call so controller can determine how it was invoked (page load or anchor click).