My Robert Still and Margaret Sim had a son called James, born 9th June 1822 at Paddocklaw, Banff.   But he married a Jean Lonie and died in Burntisland, Fife in 1902.   He was a railway engine driver.  I think this would be the James you found on IGI and that your James must be from a different family.