Whitelist python and js integration