Python Method Chaining Javascript Console In Chrome