update javascript to newer style
re-add www

blackberry is really unhappy when www is removed. remove and re-add bb10
Merge branch 'master' of github.com:don/phonegap-p2p