I tested it with Flash, HTML5 and Android and it seems to be working as the original version.
I also submitted him a pull request. While he doesn’t accept it you can get the project from here.
I hope it helps someone.
All kudos for Zaphod for providing such useful library. Any problem in this new version is my fault.