changes to the website javascript, improvements to flight