Use plain JavaScript to bind to onLoad.