add document DOMContentLoaded sample