So, I am closing the entire script in a closure to avoid variable collisions with other scripts and accidental implicit globals so, in the end I then have to explicitly expose awty yo the global object i.e. window