Develop Javascript Code Using Python For Automation