Daniel, it works now. Thanks for the hard work!
https://gist.github.com/ontouchstart/532312fcba59aec3ce7f6aa...