Python Method Chaining Javascript Documentation