attempting to get phonegap js working