Update the way window.onload is handled

In order to allow multiple script to be binded to it
Enable some probe inputs only when necessary