'use strict'; const init = evt => { //do any initialisation here }; window.addEventListener("load", init);