phonegap script reference.