Translations:API:Edit/66/en

provides a way to access edit tokens when running Javascript within a MediaWiki page.