add phonegap device specific js