updated the path again to support phonegap.