Changed initializer to the customevent on domcontentloaded

Inconsistent indent type.  Prefer tabs if possible.