JavaScript: Executing chained methods in any order
github.com