added DOMContentLoaded example