JS variable gets shown in python