expose App on window inline
standardise the comments to match the code a bit better
comment script ordering