Add script to check if we on desktop or phonegap