App.OnLoad with 'DOMContentLoaded'

Implemented App.OnLoad. App.OnLoad is suggested to be overwritten in the
index.html when attempting to execute commands on load time. App.OnLoad
is based on 'DOMContentLoaded'.