chrisben/imgcache.js — pull request #51 by jtomaszewski (2014-04-02 14:51:18+00:00)
Title: [bugfix] Use CustomEvent instead of Event

```js
ImgCache.init()
TypeError: Illegal constructor
```

It's stack trace leads to this line:
```js
DomElement.dispatchEvent(new Event(eventName));
```

I don't know if it's case with every Cordova device, but on my Cordova 3.3 and Android `new Event('foo')` raises a Error, while `new CustomEvent('foo')` is okay.