adding phonegap script tag