store dom plugins in regular js object