My guess this far out, unless there is a severe weather event you will be fine as you are the first flight leaving EDI. Have 1 back up option searched for the day before just in case, F or J.
The real advice should be on booking a hotel room for the evening before, so you have somewhere to go once you arrive in Tokyo. Those first few hours in Tokyo was the worst jet lag of my life.