JavaScript: add Formatting, use Context.exit() on disable