Python Method Chaining Javascript Compiler Speed