application: use dom:load event instead of load