add a dummy phonegapjs and load the script