Seperate node stuff from phonegap