Javascript Add Variable To String Python Functions With Variable Number