Perfect! If you want to call self switch via Javascript then it's better to use Eli, as Action Combat self switch was designed for common Plugin Command call, which to be used inside RPG Maker editor. If you have more questions pls ask me via Discord to gete a much much faster reply.