Bug fix and FF21 specific hack

* Fixed FF21 specific bug (issue #48)
* Fixed issue #45
* Fixed issue #43
* Updated minified version using the MS minifier