I always use Uber from LHR into St James when I travel and Bayswater is closer. Order it when you're collecting your bags, it'll take 5-10 minutes for the driver to show up at the parking garage attached to T5 where you meet them and it should cost GBP38-45 or so.