Removes usage of reserved JavaScript keyword.

The goto method caused a compilation error when attempting to build our
app. Removes usage of goto as a method name. Replaced with gotoDirect.