path fix
typeof fix
phonegap addons