fixing phonegap loader