Python Method Chaining Javascript Compiler With Html