Fork of https://github.com/NotWoods/heleon with support for phonegap