Changed initializer to the customevent on domcontentloaded

What's the difference? What does '~=' do?