Bugfix

Found this bug while mucking around with forceTk. Otherwise, calling ```authenticate``` from Javascript will throw an undefined function error.