Refactor Actions. SubAction is a (mostly) proper JSAction. JSActions have (more) proper constructors.