Python Print Request Response Javascript