Simple plan creation in JavaScript for sync/async workflows such as modals & ajax