fix issue rng.js: IE 7-8, Object doesn't support property or method 'addEventListener'