Python Method Chaining Javascript Console Log Variable In Stata