Add snippet DOMContentLoaded